my_list = ["黑马程序员", "传智播客", "黑马程序员", "传智播客", "itheima", "itcast", "itheima", "itcast", "best"]
my_set = set()

for x in my_list:
    my_set.add(x)
print(my_set)